ACFWF\Models\Feature_Custom_Taxonomy D

Total Complexity 127
Dependencies 5
Dependents 1
Total lines 1,147
Lines of code 573
Logical lines of code 278
Comment lines 444
Methods 35
Properties 0

Methods 35

Method Rating Maintainability Complexity Lines of code
filter_coupons_by_feature()
A
49 10 30
_is_feature_enabled()
A
53 10 23
populate_features_column()
A
46 8 39
calculate_and_update_feature_counts()
A
45 7 43
_update_feature_taxonomy_counts()
A
52 8 27
protect_feature_terms()
A
46 7 40
_get_feature_display_name()
A
52 8 24
_update_coupon_taxonomy_terms()
A
55 8 21
add_feature_filter_dropdown()
S
53 6 22
schedule_bulk_update_coupon_features()
S
50 5 28
validate_term_creation()
S
60 5 13
process_bulk_update_batch()
S
55 4 21
_process_feature_checks()
S
56 4 18
create_feature_terms()
S
56 3 20
_get_current_coupon_features()
S
64 4 10
update_coupon_features()
S
61 3 12
_apply_count_changes()
S
62 3 11
_get_feature_checks()
S
50 1 33
handle_coupon_meta_saved()
S
71 3 6
register_taxonomy()
S
54 1 24
run()
S
56 1 16
_get_valid_feature_slugs()
S
60 1 15
_get_property_value()
S
65 2 9
handle_woocommerce_coupon_created()
S
72 2 6
handle_woocommerce_coupon_updated()
S
72 2 6
handle_coupon_deletion()
S
68 2 7
__construct()
S
72 1 5
_get_excluded_feature_modules()
S
73 1 6
_get_feature_display_name_mappings()
S
69 1 7
_validate_and_filter_features()
S
65 1 10
_get_feature_count_option_key()
S
74 1 4
_is_feature_counting_enabled()
S
79 1 3
add_feature_filter_query_vars()
S
77 1 4
add_features_column()
S
75 1 4
activate()
S
72 1 6